import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-07-27  19:41
 */
public class Test3 {
    public static void main(String[] args) {
        System.out.println(add(1, 2));
        System.out.println(add(1.2, 1.5, 1.4));
    }

    public static int add(int x, int y) {
        return x+y;
    }

    public static double add(double x, double y, double z) {
        return x+y+z;
    }
}
